﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011D3 RID: 4563
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpaceZooTakeCsReq : IMessage<SpaceZooTakeCsReq>, IMessage, IEquatable<SpaceZooTakeCsReq>, IDeepCloneable<SpaceZooTakeCsReq>, IBufferMessage
	{
		// Token: 0x170039C4 RID: 14788
		// (get) Token: 0x0600CC52 RID: 52306 RVA: 0x00226934 File Offset: 0x00224B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpaceZooTakeCsReq> Parser
		{
			get
			{
				return SpaceZooTakeCsReq._parser;
			}
		}

		// Token: 0x170039C5 RID: 14789
		// (get) Token: 0x0600CC53 RID: 52307 RVA: 0x0022693B File Offset: 0x00224B3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpaceZooTakeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170039C6 RID: 14790
		// (get) Token: 0x0600CC54 RID: 52308 RVA: 0x0022694D File Offset: 0x00224B4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpaceZooTakeCsReq.Descriptor;
			}
		}

		// Token: 0x0600CC55 RID: 52309 RVA: 0x00226954 File Offset: 0x00224B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooTakeCsReq()
		{
		}

		// Token: 0x0600CC56 RID: 52310 RVA: 0x0022695C File Offset: 0x00224B5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooTakeCsReq(SpaceZooTakeCsReq other) : this()
		{
			this.oBBNODAFPAK_ = other.oBBNODAFPAK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CC57 RID: 52311 RVA: 0x00226981 File Offset: 0x00224B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpaceZooTakeCsReq Clone()
		{
			return new SpaceZooTakeCsReq(this);
		}

		// Token: 0x170039C7 RID: 14791
		// (get) Token: 0x0600CC58 RID: 52312 RVA: 0x00226989 File Offset: 0x00224B89
		// (set) Token: 0x0600CC59 RID: 52313 RVA: 0x00226991 File Offset: 0x00224B91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OBBNODAFPAK
		{
			get
			{
				return this.oBBNODAFPAK_;
			}
			set
			{
				this.oBBNODAFPAK_ = value;
			}
		}

		// Token: 0x0600CC5A RID: 52314 RVA: 0x0022699A File Offset: 0x00224B9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpaceZooTakeCsReq);
		}

		// Token: 0x0600CC5B RID: 52315 RVA: 0x002269A8 File Offset: 0x00224BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpaceZooTakeCsReq other)
		{
			return other != null && (other == this || (this.OBBNODAFPAK == other.OBBNODAFPAK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CC5C RID: 52316 RVA: 0x002269D8 File Offset: 0x00224BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OBBNODAFPAK != 0U)
			{
				num ^= this.OBBNODAFPAK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CC5D RID: 52317 RVA: 0x00226A17 File Offset: 0x00224C17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CC5E RID: 52318 RVA: 0x00226A1F File Offset: 0x00224C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CC5F RID: 52319 RVA: 0x00226A28 File Offset: 0x00224C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.OBBNODAFPAK != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.OBBNODAFPAK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CC60 RID: 52320 RVA: 0x00226A5C File Offset: 0x00224C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OBBNODAFPAK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OBBNODAFPAK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CC61 RID: 52321 RVA: 0x00226A9A File Offset: 0x00224C9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpaceZooTakeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OBBNODAFPAK != 0U)
			{
				this.OBBNODAFPAK = other.OBBNODAFPAK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CC62 RID: 52322 RVA: 0x00226ACB File Offset: 0x00224CCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CC63 RID: 52323 RVA: 0x00226AD4 File Offset: 0x00224CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.OBBNODAFPAK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005206 RID: 20998
		private static readonly MessageParser<SpaceZooTakeCsReq> _parser = new MessageParser<SpaceZooTakeCsReq>(() => new SpaceZooTakeCsReq());

		// Token: 0x04005207 RID: 20999
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005208 RID: 21000
		public const int OBBNODAFPAKFieldNumber = 14;

		// Token: 0x04005209 RID: 21001
		private uint oBBNODAFPAK_;
	}
}
